/**
 * Created by Administrator on 2017/3/14.
 */
var Result = require('../complex/confirmResult');
var Root = React.createClass({
    getDefaultProps:function(){
        return{
            result:PageDM.resultDate
        }
    },
    componentDidMount: function(){
        var _this = this;
        UEventHub.emit("pageLoad","hello world!");
    },
    render: function () {
        var PageDM = window.PageDM;

        return (
            <div>

                <div className="container" ref = "container">
                    <div ref="step2"><Result data={this.props.result} url = {PageDM.URL.value}/></div>
                </div>

            </div>
        )
    }
});
ReactDOM.render(<Root/>, document.getElementById('giraffe'));